import { createStore } from 'vuex'

import homeindex from './module/homeindex'

export default createStore({
  state: {
    navBool:false,
        dialogFormVisible:false,
  },
  getters: {
  },
  mutations: {
             // 修改state的数据
             SET_NAVBOOL(state:any){
              state.navBool=!state.navBool
          },
          // 修改
          SET_DIALOG(state:any){
              state.dialogFormVisible=!state.dialogFormVisible
          }
  },
  actions: {
  },
  modules: {
    homeindex
  }
})
